﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace GameName1
{
    class Camera
    {
        Vector2 m_Pos;
        //player ref??

        public Camera(Vector2 i_Pos)
        {
            m_Pos = i_Pos;
        }

        public Vector2 Position
        {
            get { return m_Pos; }
            private set { m_Pos = value; }
        }

        public void Move(Vector2 delta)
        {
            Position += delta;
        }

        public void Move(float d_X)
        {
            Position += new Vector2(d_X, 0);
        }

        public void ResetTo(Vector2 n_Pos)
        {
		   //return;
            Position = n_Pos;   
        }
    }
}
